package com.example.springbootdemo.modules.user.service;

import com.example.springbootdemo.po.User;

import java.util.List;

/**
 * @Author: ShengXiaJia
 * @Date: 2020/2/17 16:03
 * @Description:
 */
public interface UserService {

    int insert(User user);

    List<User> getAll();

    User getById(Integer id);

    int update(User user);

    int delete(Integer id);

}
